<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/9/5 0005
  Time: 14:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="../jQuery-3.3.1min.js"></script>
    <script>
        function show() {
            $.ajax({
                url:'Web1/ajax1',
                type:'get',
                data:{name:$("#aaa").var()},
                success:function (data){
                    $("#c").text(data);
                }
            })
        }
    </script>
</head>
<body>
<input type="text">
<hr/>
<form action="/Web1/ajax" method="post">
<input type="text">
    <input type="submit" value="提交">

</form>
</body>
</html>
